public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        System.out.println("======测试插入======");
        MySingleList.addLast(1);
        MySingleList.addLast(2);
        MySingleList.addLast(3);
        MySingleList.addLast(4);
        mySingleList.display();
        System.out.println("======测试反转======");
        mySingleList.reverseList();
        mySingleList.display();
    }

}
